﻿<%@ Page Title="" Language="C#" MasterPageFile="~/mainframe.master" AutoEventWireup="true"
    CodeFile="shopcar.aspx.cs" Inherits="shopcar" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="css/bassic.css" rel="stylesheet" type="text/css" />
    <link href="css/shopcar.css" rel="stylesheet" type="text/css" />
    <link href="layout.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="shopcarinf" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div style="border:1px solid #CCCCFF;">
    <div id="carallinf">
        <%--<asp:Table ID="Table1" runat="server">
            <asp:TableRow runat="server" BackColor="#666699" Height="30px" Width="1010px" Font-Size="14px"
                ForeColor="White">
                <asp:TableCell runat="server">订单号</asp:TableCell>
                <asp:TableCell runat="server">书名</asp:TableCell>
                <asp:TableCell runat="server">单价</asp:TableCell>
                
               
                <asp:TableCell runat="server">收货人</asp:TableCell>
                <asp:TableCell runat="server">下单时间</asp:TableCell>
                <asp:TableCell runat="server">定单状态</asp:TableCell>
                <asp:TableCell runat="server">操作</asp:TableCell>
            </asp:TableRow>
            <asp:TableRow runat="server">
                <asp:TableCell ID="TableCell1" runat="server">200700814</asp:TableCell>
                <asp:TableCell ID="TableCell2" runat="server">计算机操作系统</asp:TableCell>
                <asp:TableCell ID="TableCell3" runat="server">￥35.5</asp:TableCell>
    
                <asp:TableCell ID="TableCell6" runat="server">朱小丽</asp:TableCell>
                <asp:TableCell ID="TableCell8" runat="server">2011-5-2</asp:TableCell>
                <asp:TableCell ID="TableCell9" runat="server">交易成功</asp:TableCell>
                <asp:TableCell ID="TableCell7" runat="server">删除</asp:TableCell>
            </asp:TableRow>
        </asp:Table>--%>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="BookID,OrderID,Email" DataSourceID="ObjectDataSource1">
            <Columns>
                <asp:BoundField DataField="RealName" HeaderText="RealName" 
                    SortExpression="RealName" />
                <asp:BoundField DataField="BookID" HeaderText="BookID" ReadOnly="True" 
                    SortExpression="BookID" />
                <asp:BoundField DataField="OrderID" HeaderText="OrderID" ReadOnly="True" 
                    SortExpression="OrderID" />
                <asp:BoundField DataField="BookName" HeaderText="BookName" 
                    SortExpression="BookName" />
                <asp:BoundField DataField="Price" HeaderText="Price" SortExpression="Price" />
                <asp:BoundField DataField="Picture" HeaderText="Picture" 
                    SortExpression="Picture" />
                <asp:BoundField DataField="OrderState" HeaderText="OrderState" 
                    SortExpression="OrderState" />
                <asp:BoundField DataField="OrderTime" HeaderText="OrderTime" 
                    SortExpression="OrderTime" />
                <asp:BoundField DataField="Email" HeaderText="Email" ReadOnly="True" 
                    SortExpression="Email" />
            </Columns>
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            OldValuesParameterFormatString="original_{0}" 
            SelectMethod="SearchOrderInformation" 
            TypeName="DataSetTableAdapters.BookOrderInformationTableAdapter">
            <SelectParameters>
                <asp:QueryStringParameter Name="email" QueryStringField="email" Type="String" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </div>
    <div id="carallprice">
        价格总计：<span>￥35.5</span></div>
    <div id="shopcontinue">
        <asp:ImageButton runat="server" Width="115" Height="32" Visible="True" ImageUrl="~/images/shopcontinue.gif" />
    </div>
    <div id="shopcargo">
        <asp:ImageButton runat="server" ImageAlign="NotSet" ImageUrl="~/images/shopgo.gif"
            Height="32px" Width="126px" />
    </div>
    <div id="carclear">
        <asp:ImageButton ID="ImageButton1" runat="server" Width="115" Height="32" ImageUrl="~/images/shopcarclear.gif" /></div>
    </div>
</asp:Content>
